x86_64: don't allocate L1 per-domain page table pages in a single chunk
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Jun 2009 09:05:23 +0000 (10:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 18 Jun 2009 09:05:23 +0000 (10:05 +0100)
commita5c98899b234c23f43dae0f7dd58649a666d070e
tree75fe5add75edd6aaceab635fd0a24442d3e642c5
parentcffdda11c15bd98dc6db8f1c3d917fc7eb521431
x86_64: don't allocate L1 per-domain page table pages in a single chunk

Instead, allocate them on demand, and adjust the consumer to no longer
assume the allocated space is contiguous.

This another prerequisite to extend to number of vCPU-s the hypervisor
can support per guest.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain.c
xen/arch/x86/domain_build.c
xen/arch/x86/mm.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/domain.h